// miniprogram/pages/goodsdetail/goodsdetail.js
Page({


  data: {

  },
  onLoad: function (options) {
    var info = wx.getStorageSync("goods")
    this.setData({
      imgUrl: info.imgUrl,
      detailUrl: info.detailUrl
    })

  },
  goBook() {
    wx.navigateTo({
      url: '/pages/book/book'
    })
  }
})